Optimal. Leaf size=38 \[ \frac{x}{b}-\frac{a x \left (c x^n\right )^{-1/n} \log \left (a+b \left (c x^n\right )^{\frac{1}{n}}\right )}{b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0244707, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {15, 368, 43} \[ \frac{x}{b}-\frac{a x \left (c x^n\right )^{-1/n} \log \left (a+b \left (c x^n\right )^{\frac{1}{n}}\right )}{b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 368
Rule 43
Rubi steps
\begin{align*} \int \frac{\left (c x^n\right )^{\frac{1}{n}}}{a+b \left (c x^n\right )^{\frac{1}{n}}} \, dx &=\frac{\left (c x^n\right )^{\frac{1}{n}} \int \frac{x}{a+b \left (c x^n\right )^{\frac{1}{n}}} \, dx}{x}\\ &=\left (x \left (c x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int \frac{x}{a+b x} \, dx,x,\left (c x^n\right )^{\frac{1}{n}}\right )\\ &=\left (x \left (c x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int \left (\frac{1}{b}-\frac{a}{b (a+b x)}\right ) \, dx,x,\left (c x^n\right )^{\frac{1}{n}}\right )\\ &=\frac{x}{b}-\frac{a x \left (c x^n\right )^{-1/n} \log \left (a+b \left (c x^n\right )^{\frac{1}{n}}\right )}{b^2}\\ \end{align*}
Mathematica [A] time = 0.0205114, size = 35, normalized size = 0.92 \[ \frac{x \left (b-a \left (c x^n\right )^{-1/n} \log \left (a+b \left (c x^n\right )^{\frac{1}{n}}\right )\right )}{b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.292, size = 222, normalized size = 5.8 \begin{align*}{\frac{x}{b}}-{\frac{a}{\sqrt [n]{c}{b}^{2}}\ln \left ( b{{\rm e}^{-{\frac{i\pi \,{\it csgn} \left ( ic{x}^{n} \right ){\it csgn} \left ( ic \right ){\it csgn} \left ( i{x}^{n} \right ) -i\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( i{x}^{n} \right ) -i\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( ic \right ) +i\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{3}+2\,n\ln \left ( x \right ) -2\,\ln \left ( c \right ) -2\,\ln \left ({x}^{n} \right ) }{2\,n}}}}x+a \right ){{\rm e}^{{\frac{i\pi \,{\it csgn} \left ( ic{x}^{n} \right ){\it csgn} \left ( ic \right ){\it csgn} \left ( i{x}^{n} \right ) -i\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( i{x}^{n} \right ) -i\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( ic \right ) +i\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{3}+2\,n\ln \left ( x \right ) -2\,\ln \left ({x}^{n} \right ) }{2\,n}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -a \int \frac{1}{b^{2} c^{\left (\frac{1}{n}\right )}{\left (x^{n}\right )}^{\left (\frac{1}{n}\right )} + a b}\,{d x} + \frac{x}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.65497, size = 73, normalized size = 1.92 \begin{align*} \frac{b c^{\left (\frac{1}{n}\right )} x - a \log \left (b c^{\left (\frac{1}{n}\right )} x + a\right )}{b^{2} c^{\left (\frac{1}{n}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (c x^{n}\right )^{\frac{1}{n}}}{a + b \left (c x^{n}\right )^{\frac{1}{n}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (c x^{n}\right )^{\left (\frac{1}{n}\right )}}{\left (c x^{n}\right )^{\left (\frac{1}{n}\right )} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]